﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Carbon.Web.Forms.Controls;

namespace Carbon.Web.Forms.jQueryForms.DataEditors.UploadEditor
{
    public class AddFileReferencesPopupOpener : PopupOpener<UploadEditorPopupViewModel>
    {
        public override void RenderControl(System.Web.UI.HtmlTextWriter writer)
        {
            base.RenderControl(writer);
            writer.Write("<a href=\"#\" onclick=\"javascript:{0} return false;\" class=\"ui-state-default ui-corner-all carbon-add-button\" ><span class=\"ui-icon ui-icon-circle-plus\"></span></a>", GetOpenPopupJavascript());
        }
    }
}
